import { NgModule } from "@angular/core";
import { Routes, RouterModule } from "@angular/router";
import { SharedModule } from "../../../share/shared.module";

import { WorkplaceComponent } from "./workplace.component";

const routes: Routes = [
  {
    path: "",
    component: WorkplaceComponent,
    data: { title: "工作台" },
  },
];

@NgModule({
  imports: [SharedModule, RouterModule.forChild(routes)],
  declarations: [WorkplaceComponent],
  exports: [WorkplaceComponent],
})
export class WorkplaceModule {}
